package com.traffic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 亲属出国信息对象 family_abroad
 * 
 * @author zzs
 * @date 2024-11-11
 */
public class FamilyAbroad extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;


    /** 亲属姓名 */
    @Excel(name = "亲属姓名")
    private String famliyName;

    /** 与本人关系 */
    @Excel(name = "与本人关系")
    private String familyRelation;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String famliyNumber;

    /** 所在国家（地区） */
    @Excel(name = "所在国家", readConverterExp = "地=区")
    private String famliyRegion;

    /** 工作生活城市 */
    @Excel(name = "工作生活城市")
    private String famliyCity;

    /** 工作（学习） */
    @Excel(name = "工作", readConverterExp = "学=习")
    private String famliyJob;

    /** 职务 */
    @Excel(name = "职务")
    private String famliyDuty;

    /** 起始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date famliyBegindate;

    /** 返回日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "返回日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date famliyEnddate;

    /** 备注 */
    @Excel(name = "备注")
    private String famliyRemark;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }




    public String getFamliyName() 
    {
        return famliyName;
    }
    public void setFamilyRelation(String familyRelation) 
    {
        this.familyRelation = familyRelation;
    }

    public String getFamilyRelation() 
    {
        return familyRelation;
    }
    public void setFamliyNumber(String famliyNumber) 
    {
        this.famliyNumber = famliyNumber;
    }

    public String getFamliyNumber() 
    {
        return famliyNumber;
    }
    public void setFamliyRegion(String famliyRegion) 
    {
        this.famliyRegion = famliyRegion;
    }

    public String getFamliyRegion() 
    {
        return famliyRegion;
    }
    public void setFamliyCity(String famliyCity) 
    {
        this.famliyCity = famliyCity;
    }

    public String getFamliyCity() 
    {
        return famliyCity;
    }
    public void setFamliyJob(String famliyJob) 
    {
        this.famliyJob = famliyJob;
    }

    public String getFamliyJob() 
    {
        return famliyJob;
    }
    public void setFamliyDuty(String famliyDuty) 
    {
        this.famliyDuty = famliyDuty;
    }

    public String getFamliyDuty() 
    {
        return famliyDuty;
    }
    public void setFamliyBegindate(Date famliyBegindate) 
    {
        this.famliyBegindate = famliyBegindate;
    }

    public Date getFamliyBegindate() 
    {
        return famliyBegindate;
    }
    public void setFamliyEnddate(Date famliyEnddate) 
    {
        this.famliyEnddate = famliyEnddate;
    }

    public Date getFamliyEnddate() 
    {
        return famliyEnddate;
    }
    public void setFamliyRemark(String famliyRemark) 
    {
        this.famliyRemark = famliyRemark;
    }

    public String getFamliyRemark() 
    {
        return famliyRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("famliyName", getFamliyName())
            .append("familyRelation", getFamilyRelation())
            .append("famliyNumber", getFamliyNumber())
            .append("famliyRegion", getFamliyRegion())
            .append("famliyCity", getFamliyCity())
            .append("famliyJob", getFamliyJob())
            .append("famliyDuty", getFamliyDuty())
            .append("famliyBegindate", getFamliyBegindate())
            .append("famliyEnddate", getFamliyEnddate())
            .append("famliyRemark", getFamliyRemark())
            .toString();
    }
}
